package com.xxc.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author xiangcheng
 * @version 2022/6/21 16:59
 * @since JDK8
 */
@Data
public class Tag {
    private Integer id;
    private String name;
    private String type;
    //用在成员变量上或属性，当前属性在转换json时，json中的属性名为指定的value值
    @JsonProperty("created_at")
    private Date createdate;
}
